package cn.wawi.entity.sys;
import com.fasterxml.jackson.annotation.JsonFormat;

import cn.wawi.common.annotation.TableField;
import cn.wawi.common.annotation.TableName;
/**
 * sys_role 实体类
 * 2016-12-16 20:16:51
 */
@TableName(value="sys_role")
public class Role implements java.io.Serializable{
	private static final long serialVersionUID = 1L;	/**
	 *注释: id
	 */
	@TableField(value="id",isPrimaryKey=true)
	private Integer id;
	/**
	 *注释: 角色名称
	 */
	@TableField(value="role_name")
	private String roleName;
	/**
	 *注释: 角色code
	 */
	@TableField(value="role_code")
	private String roleCode;
	/**
	 *注释: 插件时间
	 */
	@TableField(value="create_time")
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
	private java.util.Date createTime=new java.util.Date();
	/**
	 *注释: 状态 1可用 0禁用
	 */
	@TableField(value="status")
	private String status;
	/**
	 *注释: remark
	 */
	@TableField(value="remark")
	private String remark;
	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}
	public void setRoleName(String roleName){
		this.roleName=roleName==null?null:roleName.trim();
	}
	public String getRoleName(){
		return roleName;
	}
	public void setRoleCode(String roleCode){
		this.roleCode=roleCode==null?null:roleCode.trim();
	}
	public String getRoleCode(){
		return roleCode;
	}
	public void setStatus(String status){
		this.status=status==null?null:status.trim();
	}
	public String getStatus(){
		return status;
	}
	public void setRemark(String remark){
		this.remark=remark==null?null:remark.trim();
	}
	public String getRemark(){
		return remark;
	}
}

